#pragma once
#include "IObservee.h"
#include "ShopItem.h"
#include <vector>
#include "Manager.h"


class Player : public IObservee
{
	int health;
	int maxHealth;
	double experiance;
	int level;
	int gold;

public:
	Player(void);
	~Player(void);


	void setHealth(int health);
	int getHealth();

	void setExp(double experiance);
	double getExp();

	void setMaxHealth(int health);
	int getMaxHealth();

	void setLevel(int level);
	int getLevel();
	void  levelUp();

	void addGold(int gold);
	void reduceGold(int amount);
	void setGold(int gold);
	int getGold();

	void reduceHelth(int reduce);
	void increaseHealth(int increase);
	void healMax();

	void addExp(double amount);


};

